<?php
/**
 * 配置文件
 * User: wyj
 * Date: 2018/1/22
 * Time: 9:22
 */

return array(
    //服务器配置(参考swoole配置文档)
    'server' => array(
        "reactor_num" => WS_CPU_NUM,
        "worker_num" => WS_CPU_NUM,
        "daemonize"=> false,
        "pid_file" => ROOT . '/websocket.pid',
        "log_file" => __DIR__ . '/log/websocket.log',//daemonize=>true以后
        "log_level" => 4,

    )

);